package zut.cs.liziflower.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author xuwenke
 * @since 2022-05-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Orderitems对象", description="")
@TableName("orderitems")
public class Orderitems implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "itemid")
    @TableId(value = "orderitemid", type = IdType.AUTO)
    private Integer orderitemid;

    private Integer orderid;

    private Integer userid;

    private Integer flowerid;

    private Integer num;

    @TableField(exist = false)
    private String name;//花名

    @TableField(exist = false)
    private String flowerimage;

    @TableField(exist = false)
    private BigDecimal price; //价格

}
